import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import Vant from "vant"
import "vant/lib/index.css"

Vue.config.productionTip = false
Vue.use(Vant);

import Header from './components/Header.vue'
import BookList from './components/Book_list.vue'
import axios from 'axios'
Vue.component('header-input',Header)
Vue.component('book-list',BookList)
Vue.prototype.axios = axios;
//axios.defaults.baseURL="http://www.morepure.top:3000/" 部署配置
axios.defaults.baseURL="http://localhost:3000"
// axios.defaults.baseURL="http://209.222.21.54:3000"
import { Notify } from 'vant';
Vue.use(Notify);
import { Rate } from 'vant';
Vue.use(Rate);

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')

//r-test